.jvs-left,
.jvs-header,
.jvs-top,
.jvs-logo,
.jvs-layout .login-logo,
.jvs-main {
  transition: all .3s;
}

.jvs-contail {
  width: 100%;
  height: 100%;
  background: #f0f2f5;
  background-size: 100%;
  background-repeat: no-repeat;
}


.jvs-left {
  position: fixed;
  left: 0;
  top: 0;
  // width: 220px;
  height: 100%;
  z-index: 1025;
}

.jvs-header {
  padding-left: 240px;
  width: 100%;
  background-color: #fff;
  box-sizing: border-box;
}

.jvs-main {
  position: absolute;
  left: 220px;
  padding: 0;
  // padding-bottom: 5px;
  height: calc(100%);
  box-sizing: border-box;
  overflow: hidden;
}

.jvs-view {
  // padding-bottom: 22px;
  width: 100%;
  box-sizing: border-box;
  height: 100%;
}

.jvs-footer {
  margin: 0 auto;
  padding: 0 22px;
  width: 1300px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  .logo {
    margin-left: -50px;
  }

  .copyright {
    color: #666;
    line-height: 1.5;
    font-size: 12px;
  }
}

.jvs-shade {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .3);
  z-index: 1024;

  &--show {
    display: block;
  }
}

@media screen and (max-width: 992px) {
  $width: 100%; //240px;

  // ele的自适应
  .el-dialog,
  .el-message-box {
    width: 98% !important;
  }

  //登录页面
  .login-left {
    display: none !important;
  }

  .login-logo {
    padding-top: 30px !important;
    margin-left: -30px;
  }

  .login-weaper {
    margin: 0 auto;
    width: 96% !important;
  }

  .login-border {
    border-radius: 5px;
    padding: 40px;
    margin: 0 auto;
    float: none !important;
    width: 100% !important;
  }

  .login-main {
    width: 100% !important;
  }

  //主框架
  .jvs-tags {
    display: none;
  }

  .jvs-left,
  .jvs-logo {
    left: -$width;
  }

  .jvs-main {
    left: 0;
    width: 100%;
  }

  .jvs-header {
    margin-bottom: 15px;
    padding-left: 15px;
  }

  .top-bar__item {
    display: none;
  }

  .jvs--collapse {

    .jvs-left,
    .jvs-logo {
      width: $width;
      left: 0;
    }

    .jvs-main {
      left: $width;
      width: 100%;
    }

    .jvs-header {
      padding: 0;
      transform: translate3d(230px, 0, 0);
    }

    .jvs-shade {
      display: block;
    }
  }
}
